#-*- coding: utf-8 -*-

from file.main import main
import logging

logging.basicConfig(level=logging.ERROR, format='%(levelname)-8s %(message)s')

print u'Command: 1 - start; 2 - stop; 3 - view "gui"'
start = main('config.txt')
txt = ''
while True:
    try:
        txt = raw_input()
    except EOFError:
        break
    start.command(txt)
